Fix problem with thermometer.