diff --git a/src/nf_modules/macs3/main.nf b/src/nf_modules/macs3/main.nf
index 5d30355c2602846251502380a66f33ba186a9721..bc32f4e9cf1ec2259c468a012bd96717738e9983 100644
--- a/src/nf_modules/macs3/main.nf
+++ b/src/nf_modules/macs3/main.nf
@@ -18,7 +18,7 @@ process peak_calling {
   script:
 /* remove --nomodel option for real dataset */
 """
-macs2 callpeak \
+macs3 callpeak \
   --treatment ${bam_ip} \
   --call-summits "True"\
   --control ${bam_control} \
@@ -53,7 +53,7 @@ awk '{print \$1"\t"\$2"\t"\$3"\t.\t+\t"\$4}' ${bg_ip} > \
   ${bg_ip.simpleName}.bed
 awk '{print \$1"\t"\$2"\t"\$3"\t.\t+\t"\$4}' ${bg_control} > \
   ${bg_control.simpleName}.bed
-macs2 callpeak \
+macs3 callpeak \
   --treatment ${bg_ip.simpleName}.bed \
   --call-summits "True"\
   --control ${bg_control.simpleName}.bed \