check food for ending