diff --git a/cpu/cpujit.py b/cpu/cpujit.py
index 638cbbf093edbafb56014c78988027d05d47ab18..aff1a512df874c2b191c387cdd263922ca9dc26e 100644
--- a/cpu/cpujit.py
+++ b/cpu/cpujit.py
@@ -125,12 +125,13 @@ def buildCTypeArgumentList(parameterSpecification, argumentDict):
 def makePythonFunctionIncompleteParams(kernelFunctionNode, argumentDict):
     func = compileAndLoad(kernelFunctionNode)[kernelFunctionNode.functionName]
     func.restype = None
+    parameters = kernelFunctionNode.parameters
 
     def wrapper(**kwargs):
         from copy import copy
         fullArguments = copy(argumentDict)
         fullArguments.update(kwargs)
-        args = buildCTypeArgumentList(kernelFunctionNode.parameters, fullArguments)
+        args = buildCTypeArgumentList(parameters, fullArguments)
         func(*args)
     return wrapper