remove componentregistry