yeah thats what i meant that the headunit was the problem as it shouldn't obviously do that when you turn headlights on/off and would explain why it did.
time for the bin then. i guess the only option is to source a different unit and test/try to make sure its nothing else. thanks for your help.