fixed infinite loop in displayMeal