diff --git a/simple-virtual-machine.ipr b/simple-virtual-machine.ipr
index 393f27d..fb30613 100644
--- a/simple-virtual-machine.ipr
+++ b/simple-virtual-machine.ipr
@@ -154,7 +154,7 @@
-
+
diff --git a/src/vm/VM.java b/src/vm/VM.java
index 87df7c9..bd5a6a2 100644
--- a/src/vm/VM.java
+++ b/src/vm/VM.java
@@ -139,8 +139,9 @@ protected void cpu() {
int nargs = metadata[findex].nargs; // how many args got pushed
ctx = new Context(ctx,ip,metadata[findex]);
// copy args into new context
+ int firstarg = sp-nargs+1;
for (int i=0; i