caught a global var sneaking around