bug fix on the bet dialog