keeping track of food, and bug fix for clearing plates