Fixed a bet bug