diff --git a/src/nf_modules/macs2/main.nf b/src/nf_modules/macs2/main.nf
index f50617b985c5ad7f45d56237c352cd689a227168..558d134b53372fe66c2aaa9eea51d179b7976c33 100644
--- a/src/nf_modules/macs2/main.nf
+++ b/src/nf_modules/macs2/main.nf
@@ -13,7 +13,7 @@ process peak_calling {
     tuple val(file_id), path(bam_ip), path(bam_control)
 
   output:
-    path "*.narrowpeak", emit: peak
+    path "*.narrowPeak", emit: peak
     path "*.bed", emit: summits
     path "*_report.txt", emit: report
 
@@ -46,7 +46,7 @@ process peak_calling_bg {
     tuple val(file_id), path(bg_ip), path(bg_control)
 
   output:
-    path "*.narrowpeak", emit: peak
+    path "*.narrowPeak", emit: peak
     path "*.bed", emit: summits
     path "*_report.txt", emit: report