fix bet problem.