fixed error due to blindly copying cooler code to heater