CAC remove the purple fringing

Recently, I used rawTherapee to handle Chromatic Aberration Correct problem, mind to remove the purple fringing(caused by Lateral Chromatic Aberration).

The raw data type is bayer(RGGB), generate by camera, like this.

And I modify the source code, read the raw data, execute the CAC module, get and save the new raw data.

Here is the jpg, which transformed by the raw data:

We can find that there are many red noise color generate in the after image.

Also, I have used the Defringe module to remove purple fringe on JPG, but this method may remove the real purple object and color.

Does anyone can give me some suggestion, thx so much!