changes to betting

betting doesn't work properly