fixed a bug where the lower temperature would always be equal to 0