diff --git a/subworkflow/clocktec.cwl b/subworkflow/clocktec.cwl
index 37b636b642951579fa2077fe3d2128ef686df878..66c856942b9725f03c02120b3cd89002dbf4cc7c 100644
--- a/subworkflow/clocktec.cwl
+++ b/subworkflow/clocktec.cwl
@@ -150,7 +150,7 @@ steps:
   - id: losoto_flagstation
     in:
       - id: input_h5parm
-        source: smooth/output_h5parm
+        source: losoto_residual/output_h5parm
       - id: soltab
         default: sol000/phase000
       - id: mode