diff --git a/src/nf_modules/danpos/main.nf b/src/nf_modules/danpos/main.nf
index 174c4cfd975a92fb54b223bc8cc0eaf49cabc7f9..a2e7861a3fd1cf9d004087ea3148f85d94be8a9a 100644
--- a/src/nf_modules/danpos/main.nf
+++ b/src/nf_modules/danpos/main.nf
@@ -68,7 +68,7 @@ danpos.py dpos -m ${m} \
   ${bam_ip}
 mv ${file_prefix}/pooled/* ${file_prefix}/
 rm -R ${file_prefix}/pooled
-awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$6, "+" }' ${file_prefix}/${bam_ip.simpleName}.bgsub.peaks.xls > ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.bed
+awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$6, "+" }' ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.xls > ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.bed
 """
 }
 
@@ -129,7 +129,7 @@ danpos.py dpos -m ${m} \
   ${wig_ip}
 mv ${file_prefix}/pooled/* ${file_prefix}/
 rm -R ${file_prefix}/pooled
-awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$6, "+" }' ${file_prefix}/${bam_ip.simpleName}.bgsub.peaks.xls > ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.bed
+awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$6, "+" }' ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.xls > ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.bed
 """
 }
 
@@ -197,7 +197,7 @@ danpos.py dpos -m ${m} \
   ${wig_ip_a}:${wig_ip_b}
 mv ${file_prefix}/pooled/* ${file_prefix}/
 rm -R ${file_prefix}/pooled
-awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$6, "+" }' ${file_prefix}/${bam_ip.simpleName}.bgsub.peaks.xls > ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.bed
+awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$6, "+" }' ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.xls > ${file_prefix}/${bam_ip.simpleName}.bgsub.positions.bed
 """
 }