fix temperature display issue