Fix bug found while feeding the dog