Fixed the betting cycle