diff --git a/vm/common.go b/vm/common.go
index 592d44ccd33f6758d7270702d996be3b0129f679..3d6d377ca6527f38969df927627cdb08cfb32dcf 100644
--- a/vm/common.go
+++ b/vm/common.go
@@ -48,7 +48,7 @@ var (
 	S256 = ethutil.S256
 )
 
-const MaxCallDepth = 1025
+const MaxCallDepth = 1024
 
 func calcMemSize(off, l *big.Int) *big.Int {
 	if l.Cmp(ethutil.Big0) == 0 {
diff --git a/vm/vm_debug.go b/vm/vm_debug.go
index e9139ae199b0f99a015d958431817254d3f7f216..8af1979b19295f206cc8380b98ffc3141f79935c 100644
--- a/vm/vm_debug.go
+++ b/vm/vm_debug.go
@@ -49,8 +49,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
 	closure := NewClosure(msg, caller, me, code, gas, price)
 
 	if self.env.Depth() == MaxCallDepth {
-		closure.UseGas(gas)
-
+		//closure.UseGas(gas)
 		return closure.Return(nil), DepthError{}
 	}
 
@@ -885,7 +884,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
 
 				mem.Set(retOffset.Uint64(), retSize.Uint64(), ret)
 			}
-			self.Printf("resume %x", closure.Address())
+			self.Printf("resume %x (%v)", closure.Address(), closure.Gas)
 
 			// Debug hook
 			if self.Dbg != nil {