diff --git a/python/quadruped_reactive_walking/WB_MPC/CasadiOCP.py b/python/quadruped_reactive_walking/WB_MPC/CasadiOCP.py
index 966cb15828226baaac7fc153bdbbac3cd40f34d1..8465b0189a2f1cc3d975b70ab6c1e58050ac1bac 100644
--- a/python/quadruped_reactive_walking/WB_MPC/CasadiOCP.py
+++ b/python/quadruped_reactive_walking/WB_MPC/CasadiOCP.py
@@ -280,6 +280,8 @@ class OCP:
             print("Got warm start")
         except:
             print("Can't load warm start")
+            for x in self.xs:
+                self.opti.set_initial(x, x0)
 
     def get_results(self):
         xs_sol = [self.opti.value(x) for x in self.xs]