was able to close the headlight, unfortunately the headlight module is dead and does not work. The water killed it.
So im going back with another module to code it and try to initialize it.
there is a possiblity that the headlight itself is damaged due to the module socket becoming corroded. In which case I will need a new headlight.
On other news, all PDC sensors are faulty so most likely the PDC module is bad. So I ordered a new module to see if that fixes it.