fix foreach issue for empty bets