Revert "check food for ending"

This reverts commit bfc37d808e7e217a567d5edcccb07233a8d1ed49.