Fixed some bugs with eating.