fixed thermometer bug again