fix crash from food