fix in thermostat