fixed bugs related to betting box