temperature bugfixes