diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index dd2729835958addcf710ca10ff0069d321f003f7..28ebeef9c0ec116565f97bb38d5646a7ee0e56d0 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2019,13 +2019,13 @@ process aggrQC {
     then
       input=\$(echo \${input}"${strandedI}\t")
     else
-      input=$(echo \${input}"${strandedI} (FORCED)\t")
+      input=\$(echo \${input}"${strandedI} (FORCED)\t")
     fi
     if [ "${params.spikeForce}" == "" ]
     then
-      input=$(echo \${input}"${spikeI}\t-\t-\t-\t-"")
+      input=\$(echo \${input}"${spikeI}\t-\t-\t-\t-"")
     else
-      input=$(echo \${input}"${spikeI} (FORCED)\t-\t-\t-\t-" >> metadata.tsv
+      input=\$(echo \${input}"${spikeI} (FORCED)\t-\t-\t-\t-" >> metadata.tsv
     fi
     echo -e \${input} >> metadata.tsv
     echo -e "Measured\t-\t${endsManual}\t-\t-\t'${rawReadsI}'\t'${assignedReadsI}'\t'${readLengthI}'\t'${tinMedI}'" >> metadata.tsv