diff --git a/jass_pipeline.nf b/jass_pipeline.nf
index 763a62df596e42eb85078de589720b3400933f37..7bad6f3a0cdc6f1a97c9f493c1b0304e2c2c264f 100644
--- a/jass_pipeline.nf
+++ b/jass_pipeline.nf
@@ -109,7 +109,7 @@ process Impute_GWAS {
     input:
         path gwas_files from cleaned_gwas_chr_channel
         path ref_file from Channel.fromPath(ref_chr_path).collect()
-        path ld_file from Channel.fromPath(param.ld_folder).collect()
+        path ld_file from Channel.fromPath(params.ld_folder).collect()
     output:
         path "imputed_GWAS/*.txt" into imputed_gwas_channel
         path "imputed_GWAS/*.txt" into imputed_gwas_channel2