fixed regeneration bug in food randomness