set bet finally working