diff --git a/pykat/commands.py b/pykat/commands.py
index dbb5c24c33f7a169bb2e1e7ca4c9175209057824..f146667019f1d6142fa7cf597341c5708c0d61ca 100644
--- a/pykat/commands.py
+++ b/pykat/commands.py
@@ -76,8 +76,9 @@ class Command(object):
             
             self._kat.unregisterVariable(_.name)
             _.clearPuts()
-            
-            del self._putters[i]
+        
+        for i in range(len(self._putters)):  
+            del self._putters[0]
             
         del self._putters[:]