diff --git a/hunks/template.js b/hunks/template.js
index a2bf46b4e7753d8746f83c064efad0947e469c07..64344011c00122bdea45ae61edab113c08bc3a50 100644
--- a/hunks/template.js
+++ b/hunks/template.js
@@ -63,7 +63,7 @@ function Name() {
     // making sure we are clear to run,
     if (inA.io() && !outB.io()) {
       // an input is occupied, and the exit path is empty
-      let output = internalFunc(this.inputs.a.get())
+      let output = internalFunc(inA.get())
       // put 'er there
       outB.put(output)
     }