removing main temp