delete category if not referenced by other objects any longer