diff --git a/benchmarks/imaging_ecal/scripts/emcal_barrel_energy_scan_analysis_pi_e.cxx b/benchmarks/imaging_ecal/scripts/emcal_barrel_energy_scan_analysis_pi_e.cxx
index 77d7c4a3a3b345828e2cc2a75b0ee078a9293ab1..515f1e9294deb516f11d17ecff408dcbb2cf2c99 100644
--- a/benchmarks/imaging_ecal/scripts/emcal_barrel_energy_scan_analysis_pi_e.cxx
+++ b/benchmarks/imaging_ecal/scripts/emcal_barrel_energy_scan_analysis_pi_e.cxx
@@ -205,7 +205,6 @@ std::tuple <double, double> extract_sampling_fraction_parameters(std::string E_l
   save_canvas(c1, "gen", E_label, "electron_pion");
 
   TCanvas* c2 = new TCanvas("c2", "c2", 1400, 1000);
-  c2->cd();
   hNClusterScFi_el->GetYaxis()->SetTitleOffset(1.4);
   hNClusterScFi_el->SetLineWidth(2);
   hNClusterScFi_el->SetLineColor(kBlue);
@@ -215,7 +214,6 @@ std::tuple <double, double> extract_sampling_fraction_parameters(std::string E_l
   save_canvas(c2, "NCluster", E_label, "electron_pion");
   
   TCanvas* c3 = new TCanvas("c3", "c3", 1400, 1000);
-  c3->cd();
   hEoverPScFi_el->GetYaxis()->SetTitleOffset(1.4);
   hEoverPScFi_el->SetLineWidth(2);
   hEoverPScFi_el->SetLineColor(kBlue);
@@ -225,7 +223,6 @@ std::tuple <double, double> extract_sampling_fraction_parameters(std::string E_l
   save_canvas(c3, "EoverPClusterScFi", E_label, "electron_pion");
 
   TCanvas* c4 = new TCanvas("c4", "c4", 1400, 1000);
-  c4->cd();
   hEoverPRecScFi_el->GetYaxis()->SetTitleOffset(1.4);
   hEoverPRecScFi_el->SetLineWidth(2);
   hEoverPRecScFi_el->SetLineColor(kBlue);