bug fix temperature