lose the global variable