replace site.categories with category