diff --git a/steps/ddecal.cwl b/steps/ddecal.cwl
index 6df69494fa1a7fb0903c651863e21be359fc12e5..4c54334fca3946ecaf5e1c67f9b8c8bf06d4c3be 100644
--- a/steps/ddecal.cwl
+++ b/steps/ddecal.cwl
@@ -125,7 +125,7 @@ outputs:
     doc: Output Measurement Set
     type: Directory
     outputBinding:
-      glob: $(inputs.msin)
+      glob: $(inputs.msin.basename)
 
   - id: h5parm
     doc: Filename of output H5Parm (to be read by e.g. losoto)