diff --git a/src/graph-steering-method.cc b/src/graph-steering-method.cc
index c52f8e5fac8851249a82b94cf9c12377a5039277..1e5dbe780bcd6661cdea91c9beed981f34e539c7 100644
--- a/src/graph-steering-method.cc
+++ b/src/graph-steering-method.cc
@@ -19,6 +19,7 @@
 #include <hpp/util/pointer.hh>
 
 #include <hpp/core/straight-path.hh>
+#include <hpp/core/steering-method-straight.hh>
 
 #include <hpp/manipulation/problem.hh>
 #include <hpp/manipulation/graph/graph.hh>
@@ -53,12 +54,14 @@ namespace hpp {
     }
 
     GraphSteeringMethod::GraphSteeringMethod (const Problem& problem) :
-      SteeringMethod (problem), problem_ (problem), weak_ ()
+      SteeringMethod (problem), problem_ (problem), weak_ (),
+      steeringMethod_ (core::SteeringMethodStraight::create (problem))
     {
     }
 
     GraphSteeringMethod::GraphSteeringMethod (const GraphSteeringMethod& other):
-      SteeringMethod (other), problem_ (other.problem_)
+      SteeringMethod (other), problem_ (other.problem_), steeringMethod_
+      (other.steeringMethod_)
     {
     }