remove all category-related code