fix /bets endpoint