diff --git a/source/RobotAPI/libraries/armem/client/util/MemoryListener.cpp b/source/RobotAPI/libraries/armem/client/util/MemoryListener.cpp
index cd25f06115a8eb696a345b08c593945fed2da6ed..c154298e0351353ebbef8ae198760f3930dbdc07 100644
--- a/source/RobotAPI/libraries/armem/client/util/MemoryListener.cpp
+++ b/source/RobotAPI/libraries/armem/client/util/MemoryListener.cpp
@@ -183,7 +183,7 @@ namespace armarx::armem::client::util
         ARMARX_CHECK_NOT_EMPTY(memoryID.memoryName)
             << "The memoryName must be specified to subscribe";
 
-        if (component && memoryRefCount[memoryID.memoryName] == 0)
+        if (component and memoryRefCount[memoryID.memoryName] == 0)
         {
             component->usingTopic(MakeMemoryTopicName(memoryID));
         }