schedule-cycle runtime error fixes