removing flag for global vars.