fix horrible bug with quick check for globals
1.1.2