fixed bug in setGlobalTemp