fixed bet / bet.py double reference in broadcast.py

used i as temporary variable -