diff --git a/src/ZMPRefTrajectoryGeneration/nmpc_generator.cpp b/src/ZMPRefTrajectoryGeneration/nmpc_generator.cpp
index 82ea8e16ab925fb1bebeb762117c2aa43d5d8b6b..1ca789e332b9b480bc9800d7abca3f95a24855da 100644
--- a/src/ZMPRefTrajectoryGeneration/nmpc_generator.cpp
+++ b/src/ZMPRefTrajectoryGeneration/nmpc_generator.cpp
@@ -247,12 +247,11 @@ void NMPCgenerator::initNMPCgenerator(support_state_t & currentSupport,
 
   // initialize the solver
   QP_ = new qpOASES::SQProblem((int)nv_,(int)nc_,qpOASES::HST_POSDEF) ;
-  options_.printLevel = qpOASES::PL_NONE;
 //  options_.initialStatusBounds = qpOASES::ST_INACTIVE ;
 
   options_.setToMPC();
   QP_->setOptions(options_);
-// QP_->setPrintLevel(qpOASES::PL_NONE);
+  QP_->setPrintLevel(qpOASES::PL_NONE);
   nwsr_ = 1e+8 ;
   cput_ = new double[1] ;
   deltaU_ = new double[nv_];