Hacking in inelegant fix for negative temps