diff --git a/src/nf_modules/emase-zero/main.nf b/src/nf_modules/emase-zero/main.nf
index 02b64fe4a92727a11990f88dcd619b31bfb8fa95..1b7ceb1d14af0970eff620f1780c9eafcabc03f8 100644
--- a/src/nf_modules/emase-zero/main.nf
+++ b/src/nf_modules/emase-zero/main.nf
@@ -48,11 +48,10 @@ grep ">" ${fasta} | sed 's/>//' > tr_list.txt
 grep -Fw -f tr_list.txt ${gene_to_transcript} | \
   sed -E 's/(.+gn[0-9]+)(.+)(_.+)/\\1\\3\\2\\3/g' > \
   gene_to_transcript.txt
-
 emase-zero ${params.count} \
   -o ${bin.simpleName}.quantified \
   -l ${transcript_length} \
   -g gene_to_transcript.txt \
-  ${bin} 2&1> ${file_id}_emase-zero_report.txt
+  ${bin} 2>&1 > ${file_id}_emase-zero_report.txt
 """
 }
\ No newline at end of file