fix bug with bets archive id