diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 6c7b2e5666d36f3ff6e41a448a910f1bd0e43dda..68ea88b22d7e8781247a1c821758310d6b2364e9 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2003,12 +2003,12 @@ process failExecutionRun {
         endInfer="unknown"
       fi
       #pipelineError_details=\$(echo \${pipelineError_details}"Paired_End: submitted value = \\""\${endMeta}"\\" while inferred value = \\""\${endInfer}"\\". ")
-      pipelineError_details=\$(echo \${pipelineError_details}"|*Paired_End*|"\${endMeta}"|"\${endsInfer}"|\\n ")
+      pipelineError_details=\$(echo \${pipelineError_details}"|*Paired_End*|"\${endMeta}"|"\${endInfer}"|\\n ")
     fi
     if ${pipelineError_stranded}
     then
       #pipelineError_details=\$(echo \${pipelineError_details}"Strandedness: submitted value = \\"${strandedMeta}\\" while inferred value = \\"${strandedInfer}\\". ")
-      pipelineError_details=\$(echo \${pipelineError_details}"|*Strandedness*|${strandedMeta}|"${strandedInfer}|\\n ")
+      pipelineError_details=\$(echo \${pipelineError_details}"|*Strandedness*|${strandedMeta}|${strandedInfer}|\\n ")
     fi
     if ${pipelineError_spike}
     then