diff --git a/Projects/AlPhaPha/conversion/2024/convert.C b/Projects/AlPhaPha/conversion/2024/convert.C
index 7b9762510ba47cd4f63f7833b650af26d1bcc0d2..c2a584e75c148b3488d0f0c5ff9c4575bb6a6e38 100644
--- a/Projects/AlPhaPha/conversion/2024/convert.C
+++ b/Projects/AlPhaPha/conversion/2024/convert.C
@@ -62,11 +62,11 @@ void convert(int run=204){
     input_tree->GetEntry(i);
 
 
-    if (e % 100000  == 0 && e > 0 ) {
+    if (i % 100000  == 0 && i > 0 ) {
             auto now = std::chrono::high_resolution_clock::now();
             std::chrono::duration<double> elapsed = now - start;
-            double avgTimePerIteration = elapsed.count() / e;
-            double timeLeft = avgTimePerIteration * (Nentries - e);
+            double avgTimePerIteration = elapsed.count() / i;
+            double timeLeft = avgTimePerIteration * (nentries - i);
 
             std::cout << "********** Estimated time left: " << int(timeLeft) << " seconds **********" << "\r" << flush;
         }