fix temperature controlling. Works so far!