Temperature bugfix