pets: fix bug that food not getting added to