Fixed issue with SETGLOBAL