remove plugin from core