fixes to cycletime