Fix temperature (issue #4288)