minor bug fix on CycleAll()