diff --git a/workflow/main.nf b/workflow/main.nf
index ec211ccdc5471c10d00fbd9a7088bae5b5705477..aee4aa5836d1f5c420ae328dce8585d6fd4c9d99 100644
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -113,7 +113,7 @@ process checkDesignFile {
   publishDir "${outDir}/design", mode: 'copy'
 
   input:
-    designFile
+    file designFile
     file readsList
 
   output: