fixing all isGlobal to _isGlobal