fixed temp not working bug