before filter is added to food and foodcategories