diff --git a/core/data/CbmDefs.cxx b/core/data/CbmDefs.cxx
index 1ace5dcc1591c2e463046288938bf5d4c9f0a957..d5e6ec3e5397b1bd092bf3ab06342dce94fc8881 100644
--- a/core/data/CbmDefs.cxx
+++ b/core/data/CbmDefs.cxx
@@ -17,13 +17,13 @@
 // the values 11-15 are reserved for future detectors.
 // The ids of the passive modules are only relevant at run time so they can
 // be shifted easily
-// The opeartor takes care about the non continuous values for the enum
+// The operator takes care about the non continuous values for the enum
 // When it reaches the last detector it automatically continuous with the
 // first passive module
 ECbmModuleId& operator++(ECbmModuleId& e)
 {
   if (e == ECbmModuleId::kLastModule) { throw std::out_of_range("for ECbmModuleId& operator ++ (ECbmModuleId&)"); }
-  else if (e == ECbmModuleId::kT0) {
+  else if (e == ECbmModuleId::kNofSystems) {  // jump over gap between end of detectors and begin of passives
     e = ECbmModuleId::kMagnet;
   }
   else {