it was the wiring harness in the end. I left the sensor and plug connected to the block and some coolant must have got on the harness when i lifted the head off!
Just took the plug apart and cleaned the plug up and its fine. I ordered a sensor before i looked at the harness so now i have a spare sensor
