Added fix for temperature