diff --git a/src/iri_state_machine_companion_alg_node.cpp b/src/iri_state_machine_companion_alg_node.cpp
index a115a9e5472ba54615230f47e53e1908e37969bf..ddd822866b0cba80da658a568bd8a776af2722dd 100644
--- a/src/iri_state_machine_companion_alg_node.cpp
+++ b/src/iri_state_machine_companion_alg_node.cpp
@@ -49,7 +49,7 @@ void IriStateMachineCompanionAlgNode::mainNodeThread(void)
 {
   // [fill msg structures]
   // Initialize the topic message structure
-	ROS_INFO(" IN state MACHINE node  ");
+	if(out_std_mesages_){ROS_INFO(" IN state MACHINE node  ");}
 	this->fixed_frame =config_.frame_map;
 	this->robot_frame =config_.frame_robot_footprint;
 	this->robot_=config_.robot;