removed static from const variables in globalvars