well i did some research on the internet and i found a solution and it worked so i thought i should share it coz for me it was a bit strange solution
, apparently the number plate lights are acting as resistors in the circuit that goes to the rear LEDs if that circuit is broken the side light LEDs shut down because there is to much current going through them, so by installing two new plate lights the rear LEDs are working fine now, its wired how Peugeot was engineered.