--fix DB, bet, and bets to correctly save and query model data