diff --git a/source/RobotAPI/components/armem/addon/LegacyRobotStateMemoryAdapter/LegacyRobotStateMemoryAdapter.cpp b/source/RobotAPI/components/armem/addon/LegacyRobotStateMemoryAdapter/LegacyRobotStateMemoryAdapter.cpp
index b8d85a279c6dc04485b03b4c31ff7e93b16e163c..64562273cc03dab6b142842f958ce429899754b9 100644
--- a/source/RobotAPI/components/armem/addon/LegacyRobotStateMemoryAdapter/LegacyRobotStateMemoryAdapter.cpp
+++ b/source/RobotAPI/components/armem/addon/LegacyRobotStateMemoryAdapter/LegacyRobotStateMemoryAdapter.cpp
@@ -117,7 +117,7 @@ namespace armarx::armem
             transform.header.agent = "Armar3";
             transform.header.parentFrame = OdometryFrame;
             transform.header.frame = armarx::armem::robot_state::constants::robotRootNodeName;
-            transform.header.timestamp = armem::Time::microSeconds(_timestampUpdateFirstModifiedInUs);
+            transform.header.timestamp = armem::Time(armem::Duration::MicroSeconds(_timestampUpdateFirstModifiedInUs));
 
             Eigen::Isometry3f tf = Eigen::Isometry3f::Identity();
             tf.translation().x() = (update.platformPose.x);