diff --git a/source/RobotAPI/components/units/RobotUnit/RobotUnitModules/RobotUnitModuleControlThread.cpp b/source/RobotAPI/components/units/RobotUnit/RobotUnitModules/RobotUnitModuleControlThread.cpp
index e46f421506413ca6ff82418e17cd77ae5ca022ce..3094d06bb264e38dc240ae940a0a377d59906203 100644
--- a/source/RobotAPI/components/units/RobotUnit/RobotUnitModules/RobotUnitModuleControlThread.cpp
+++ b/source/RobotAPI/components/units/RobotUnit/RobotUnitModules/RobotUnitModuleControlThread.cpp
@@ -422,7 +422,7 @@ namespace armarx
                         ": no NJoint controller controls this device (name = "
                         << rtGetControlDevices().at(ctrlDevIndex)->getDeviceName()
                         << ", ControlMode = " << rtGetActivatedJointControllers().at(ctrlDevIndex)->getControlMode() << ")!" << "\n"
-                        << VAROUT(ctrlDevIndex()) << "\n"
+                        << VAROUT(ctrlDevIndex) << "\n"
                         << VAROUT(rtGetActivatedJointControllers()) << "\n"
                         << VAROUT(rtGetActivatedNJointControllers()) << "\n"
                         << VAROUT(rtGetActivatedJointToNJointControllerAssignement())