not 100 percent sure on the 525...on my 535 there are two leads one going to a sensor near the thermostat,and a brown plug and a blue plug into the main loom.One of those is the temp sensor for the gauge,the other the temp sensor for the ECU.Plug and unplug both...hopefully someone with a M50 will chime in and te you more specifically