refactor blog_items_categories