diff --git a/macro/analysis/common/analysis_tree_converter/run_analysis_tree_maker.C b/macro/analysis/common/analysis_tree_converter/run_analysis_tree_maker.C
index d5d20940ec4d7a2dc95fa8edb9e18f046223311f..8e9c9f94bdc9dbd0ed2a969fd24d7aa2e3372910 100644
--- a/macro/analysis/common/analysis_tree_converter/run_analysis_tree_maker.C
+++ b/macro/analysis/common/analysis_tree_converter/run_analysis_tree_maker.C
@@ -165,4 +165,6 @@ void run_analysis_tree_maker(Int_t nEvents     = 2,
   std::cout << " All ok " << std::endl;
   //   Generate_CTest_Dependency_File(depFile);
   // ------------------------------------------------------------------------
+
+  RemoveGeoManager();
 }
diff --git a/macro/much/run_ana.C b/macro/much/run_ana.C
index 9c1c561a1f2d6d545313bc0887021ef99c167f6d..ba7b4d2baabe5bca28cf82a0831771d574e8bff6 100644
--- a/macro/much/run_ana.C
+++ b/macro/much/run_ana.C
@@ -92,5 +92,5 @@ void run_ana(Int_t nEvents   = 3,
   cout << " Test passed" << endl;
   cout << " All ok " << endl;
 
-  //   RemoveGeoManager();
+  RemoveGeoManager();
 }