fixing the food list and card list