fix bug for get food