diff --git a/samtools.wdl b/samtools.wdl
index c9207d3e89df3b598c55e1268bdb81afb3cc2b21..a1192ac3a08419a8584c01a005cd785649a7d60d 100644
--- a/samtools.wdl
+++ b/samtools.wdl
@@ -95,7 +95,7 @@ task fastq {
         ${true="-O" false="" outputQuality} \
         ${"-c " + compressionLevel} \
         ${"--threads " + totalThreads} \
-
+        ${inputBam}
     }
     output {
         File read1 = outputRead1