fix getSpareFood index error