avoid activating plugins twice