global var leak