fix heater bug