diff --git a/macro/run/run_unpack_online.C b/macro/run/run_unpack_online.C
index 6d067c9c656c9ea7f33b52067e794e69c2b81981..831e778aff8a7460a201c71b24e71246db684123 100644
--- a/macro/run/run_unpack_online.C
+++ b/macro/run/run_unpack_online.C
@@ -211,10 +211,10 @@ void run_unpack_online(std::vector<std::string> publisher = {"tcp://localhost:55
     // Activate the line below to write Trd1D digis to a separate "TrdFaspDigi" branch. Can be used to separate between Fasp and Spadic digis
     //trdfasp2dconfig->SetOutputBranchName("TrdFaspDigi");
     if (runid <= 1588) {
-      uint8_t map[NFASPMOD],
-              map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
-      
-      for (int i(0); i< NFASPMOD; i++) map[i] = (i<12 ? map21[i] : i);
+      uint8_t map[NFASPMOD], map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
+
+      for (int i(0); i < NFASPMOD; i++)
+        map[i] = (i < 12 ? map21[i] : i);
       trdfasp2dconfig->SetFaspMapping(5, map);
     }
     std::string parfilesbasepathTrdfasp2d = Form("%s/parameters/trd", srcDir.Data());
diff --git a/macro/run/run_unpack_tsa.C b/macro/run/run_unpack_tsa.C
index 968398813474961eaede7293702ef601c5c7b492..42730679a97454d515ef27f4b40589ecf19fb3f2 100644
--- a/macro/run/run_unpack_tsa.C
+++ b/macro/run/run_unpack_tsa.C
@@ -223,10 +223,10 @@ void run_unpack_tsa(std::vector<std::string> infile = {"test.tsa"}, UInt_t runid
     // Activate the line below to write Trd1D digis to a separate "TrdFaspDigi" branch. Can be used to separate between Fasp and Spadic digis
     // trdfasp2dconfig->SetOutputBranchName("TrdFaspDigi");
     if (runid <= 1588) {
-      uint8_t map[NFASPMOD],
-              map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
-      
-      for (int i(0); i< NFASPMOD; i++) map[i] = (i<12 ? map21[i] : i);
+      uint8_t map[NFASPMOD], map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
+
+      for (int i(0); i < NFASPMOD; i++)
+        map[i] = (i < 12 ? map21[i] : i);
       trdfasp2dconfig->SetFaspMapping(5, map);
     }
     std::string parfilesbasepathTrdfasp2d = Form("%s/parameters/trd", srcDir.Data());
diff --git a/reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx b/reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx
index 51f00f1f197b25badb681b031b7512708e9147b5..ad024564da4309dac1101d03520bb173aeb09fc0 100644
--- a/reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx
+++ b/reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx
@@ -35,7 +35,7 @@ void CbmTrdUnpackConfigFasp2D::InitAlgo()
 {
   if (fDoLog) LOG(info) << fName << "::InitAlgo - SetFaspMapping";
   fAlgo->SetAsicMapping(fFaspMap);
-  /*if (fDoLog) */fAlgo->PrintAsicMapping();
+  /*if (fDoLog) */ fAlgo->PrintAsicMapping();
 
   // Now we have all information required to initialise the algorithm
   fAlgo->Init();