Globals

Fixed a typo which caused some vars to leak.