diff --git a/source/RobotAPI/libraries/aron/core/codegenerator/codeWriter/cpp/serializer/ndarray/Image.cpp b/source/RobotAPI/libraries/aron/core/codegenerator/codeWriter/cpp/serializer/ndarray/Image.cpp
index 462decae2baefa6d5c91cb50845c263784066174..771ffb4f301fb705b19474f5a9c28ef8da5e3395 100644
--- a/source/RobotAPI/libraries/aron/core/codegenerator/codeWriter/cpp/serializer/ndarray/Image.cpp
+++ b/source/RobotAPI/libraries/aron/core/codegenerator/codeWriter/cpp/serializer/ndarray/Image.cpp
@@ -93,7 +93,7 @@ namespace armarx::aron::cppserializer::serializer
         {
 #define CASE( typeConstant ) \
 case typeConstant : \
-    typeName = "aron::typenavigator::ImageNavigator::pixelTypeToName( " #typeConstant " )"; \
+    typeName = "::armarx::aron::typenavigator::ImageNavigator::pixelTypeToName( " #typeConstant " )"; \
     break;
 
                 CASE(::armarx::aron::typenavigator::ImagePixelType::Rgb24)
@@ -218,15 +218,15 @@ case typeConstant : \
             {
                 CppBlockPtr block_switch = std::make_shared<CppBlock>();
 
-    #define CASE( typeConstant ) \
-        block_switch->addLine("case " #typeConstant ":"); \
-        block_switch->addLine("cvMatType = " + pixelTypeMap.at(typeConstant) + ";"); \
-        block_switch->addLine("break;")
+#define CASE( typeConstant ) \
+    block_switch->addLine("case " #typeConstant ":"); \
+    block_switch->addLine("cvMatType = " + pixelTypeMap.at(typeConstant) + ";"); \
+    block_switch->addLine("break;")
 
                 CASE(::armarx::aron::typenavigator::ImagePixelType::Rgb24);
                 CASE(::armarx::aron::typenavigator::ImagePixelType::Depth32);
 
-    #undef CASE
+#undef CASE
 
                 block_switch->addLine("default:");
                 {