Fixed the access to the temperature data.