We are using the Raspberry Pi3 B+ model with the picamera V2.
We changed the original lens to an other simple lens, because it was necessary for our project.
Unfortunately with the new lens the colors in the middle of the picture is fine, but on the sides it's pink or magenta.
Original Lens:

Custom Lens:

In the second picture you can see on right side it should be yellow like in the middle, not pink or magenta.
Could you recommend us something how to solve this issue? Should we use a filter in the lens, or need to modify the camera settings on the raspberry?
Thanks for your help in advance!
Best Regards,
Zoltán