Before you replace the thermostat check the wire nut screws at the heater. Those wires are connected through the thermostat. The wires sometimes become slightly corroded and lose their connectivity....