fixed issue with themometer