removing global variables from entire process