before filter is added to foodcategories