Fixed issue with reading temperature.