diff --git a/bwa.wdl b/bwa.wdl
index fb222adf1bae6eeb01d14232a4a6dfe953858d79..a95bb25441cb43823cff7aee5975b7f2782721b6 100644
--- a/bwa.wdl
+++ b/bwa.wdl
@@ -6,7 +6,7 @@ task mem {
     String? outputFile = "aligned.bam"
     String? preCommand
     Int? threads = 1
-    String? memory = "4G"
+    Int? memory = 4
     Int? minimumSeedLength
     Int? w
     Int? d
diff --git a/cutadapt.wdl b/cutadapt.wdl
index 4eb8b1b8d04555d30dd224229a7309adba10bc56..6e6cd56aa2b028c9c18f08b20c60d162d1cf71f6 100644
--- a/cutadapt.wdl
+++ b/cutadapt.wdl
@@ -6,7 +6,7 @@ task cutadapt {
     String? format
     String? preCommand
     Int? cores = 1
-    String? memory = "4G"
+    Int? memory = 4
     Array[String]+? adapter
     Array[String]+? front
     Array[String]+? anywhere
@@ -122,4 +122,4 @@ task cutadapt {
         cpu: select_first([cores])
         memory: select_first([memory])
     }
-}
\ No newline at end of file
+}
diff --git a/spades.wdl b/spades.wdl
index 8c97c6397b06b9bac528ac18069d05a67c0a4cac..5a8ab2808c2be119253cb324ee9f3a20c1764998 100644
--- a/spades.wdl
+++ b/spades.wdl
@@ -74,6 +74,6 @@ task spades {
     }
     runtime {
         cpu: select_first([threads])
-        memory: select_first([memoryGb]) + "G"
+        memory: select_first([memoryGb])
     }
 }
\ No newline at end of file