Deactivating plugins partially working