fixing temperature file