I was replacing my upper radiator hose when I noticed the wire connecting to the sensor right next to the lower part of the radiator hose was extremely loose. Upon further inspection, the connector simply slid off and there were visible broken plastic pieces. I know for a fact the sensor its self is fine, so I don't think I need to replace that. Here are some pictures
How do I fix this?