Fixed eating bug and pause issue.