diff --git a/DDDetectors/src/CylindricalEndcapCalorimeter_geo.cpp b/DDDetectors/src/CylindricalEndcapCalorimeter_geo.cpp
index 47052262abcf7be9d0da033d559d537374836fa3..1c84e4e20f3a07a6ef386c5c75d059c0ced2f1ff 100644
--- a/DDDetectors/src/CylindricalEndcapCalorimeter_geo.cpp
+++ b/DDDetectors/src/CylindricalEndcapCalorimeter_geo.cpp
@@ -52,7 +52,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
       for(xml_coll_t l(x_layer,_U(slice)); l; ++l, ++im)  {
         xml_comp_t x_slice = l;
         double     w = x_slice.thickness();
-        string     slice_name = layer_name + _toString(m+1,"slice%d");
+        string     slice_name = layer_name + _toString(im+1,"slice%d");
         Material   slice_mat  = description.material(x_slice.materialStr());
         Volume     slice_vol (slice_name,Tube(rmin,rmax,w * 0.5),slice_mat);
 
diff --git a/examples/CLICSiD/CMakeLists.txt b/examples/CLICSiD/CMakeLists.txt
index 40c3f191db19e70258c8cebaa94d44b8ac359645..6d03f40ebedd3d243d42938732ad700fce397e6d 100644
--- a/examples/CLICSiD/CMakeLists.txt
+++ b/examples/CLICSiD/CMakeLists.txt
@@ -133,7 +133,7 @@ endif()
 dd4hep_add_test_reg( CLICSiD_check_checksum_EcalBarrel
   COMMAND    "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
   EXEC_ARGS  geoPluginRun -input ${DD4hep_ROOT}/DDDetectors/compact/SiD.xml -plugin DD4hepDetectorChecksum -newline -readout -detector EcalBarrel
-  REGEX_PASS "Combined hash code                      d4dc005e79c047e7  \\(10375 sub-codes\\)"
+  REGEX_PASS "Combined hash code                      91ac921728a25197  \\(10375 sub-codes\\)"
   REGEX_FAIL "Exception;EXCEPTION;ERROR"
 )
 #
@@ -141,7 +141,7 @@ dd4hep_add_test_reg( CLICSiD_check_checksum_EcalBarrel
 dd4hep_add_test_reg( CLICSiD_check_checksum_full
   COMMAND    "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
   EXEC_ARGS  geoPluginRun -input ${DD4hep_ROOT}/DDDetectors/compact/SiD.xml -plugin DD4hepDetectorChecksum -newline -readout -dump_detelements -dump_placements -dump_volumes -dump_solids -debug 3
-  REGEX_PASS "Combined hash code                      e81b6ea7e555a6ac  \\(3395674 sub-codes\\)"
+  REGEX_PASS "Combined hash code                      15a55d11308fce12  \\(3395674 sub-codes\\)"
   REGEX_FAIL "Exception;EXCEPTION;ERROR"
 )
 #