diff --git a/src/nf_modules/bedtools/main.nf b/src/nf_modules/bedtools/main.nf
index 7f9866852917bf90280399bed933eebe5fec3483..9400abf4e55bcf57f52e896b5f1d41e1a8fe8bfa 100644
--- a/src/nf_modules/bedtools/main.nf
+++ b/src/nf_modules/bedtools/main.nf
@@ -2,7 +2,7 @@ version = "2.25.0"
 container_url = "lbmc/bedtools:${version}"
 
 params.fasta_from_bed = "-name"
-params.fasta_from_bed_out = "-name"
+params.fasta_from_bed_out = ""
 process fasta_from_bed {
   container = "${container_url}"
   label "big_mem_mono_cpus"
diff --git a/src/nf_modules/samtools/main.nf b/src/nf_modules/samtools/main.nf
index 8143a81468fbd210c2c2bdc3b3eff1bd0d3f55b3..b5d075de66d926e2c5cd79ee8992bd1f79c45959 100644
--- a/src/nf_modules/samtools/main.nf
+++ b/src/nf_modules/samtools/main.nf
@@ -44,7 +44,7 @@ process filter_bam {
 
   input:
     tuple val(file_id), path(bam)
-    path bed
+    tuple val(bed_id), path(bed)
 
   output:
     tuple val(file_id), path("*_filtered.bam"), emit: bam
@@ -208,7 +208,7 @@ process flagstat_2_multiqc {
     tuple val(file_id), path(tsv)
 
   output:
-    path "*.txt" , emit: report
+    tuple val(file_id), path("*.txt"), emit: report
 """
 mv ${tsv} ${tsv.simpleName}.flagstat.txt
 """
@@ -221,7 +221,7 @@ process idxstat_2_multiqc {
     tuple val(file_id), path(tsv)
 
   output:
-    path "*.txt", emit: report
+    tuple val(file_id), path("*.txt"), emit: report
 """
 mv ${tsv} ${tsv.simpleName}.idxstats.txt
 """