betting not quite working