remove plugins depends function