small fix to handle 0 degrees temp setting