removing previously registered category.