fix global loaded check for lots of integrations