fixes use of deprecated classCycle obj