fixed crash on mobs death