bug on activating plugins