Fixes default global not being used.