Fixed isHeating initialization error