Fixed error in cycle creation controller