error deleting category