diff --git a/src/Meshing/Mage.py b/src/Meshing/Mage.py
index ce408ac0dea6f92c42a089268c4caa75f6aeb8e1..dce494648aaa895fbaf4743c1c26138462a1992e 100644
--- a/src/Meshing/Mage.py
+++ b/src/Meshing/Mage.py
@@ -397,12 +397,13 @@ class MeshingWithMageMailleurTT(AMeshingTool):
             logger.info(
                 f"! {self._exe_path()} " +
                 f"{st_file} {m_file} " +
-                f"update_rk " +
+                f"update_kp " +
                 f"{str(step)} " +
                 f"{limites[0]} {limites[1]} " +
                 f"{directrices[0]} {directrices[1]} " +
                 f"{orientation} {lm} {linear} " +
-                f"{origin} "
+                f"{origin} " +
+                f"{origin_value} "
             )
             proc.start(
                 self._exe_path(),
diff --git a/src/Model/Tools/PamhyrDict.py b/src/Model/Tools/PamhyrDict.py
index 93e563eb8384efade5f928b38b4e5bbac32f9a7c..30ef98e99d3fcb3234fe934b6525901f3671da68 100644
--- a/src/Model/Tools/PamhyrDict.py
+++ b/src/Model/Tools/PamhyrDict.py
@@ -67,7 +67,7 @@ class PamhyrModelDict(SQLSubModel):
         if key in self._dict:
             v = self._dict[key]
 
-            if type(v) is types.GeneratorType:
+            if isinstance(v, types.GeneratorType):
                 return list(v)
 
             return v