added removal for non submodule plugins