fix balance

added balance done flag
added balance temperature control