fix for temperature