fix food generation issues