rename isglobal to is_global