got rid of some unneeded references to subcategories in categories_controller