fix a bad thermostat