check isActivated before loading plugin