diff --git a/src/THcShowerPlane.cxx b/src/THcShowerPlane.cxx
index 866b981d4c8b721d7ffb22ddf7e13a6c7478c48e..6b1ab72698e7affa1abd9c1525a06a4865aeb8b2 100644
--- a/src/THcShowerPlane.cxx
+++ b/src/THcShowerPlane.cxx
@@ -700,7 +700,7 @@ void THcShowerPlane::FillADC_DynamicPedestal()
 
       fTotNumGoodAdcHits++;
       fTotNumGoodNegAdcHits++;
-      fNumGoodNegAdcHits.at(npad)++;
+      fNumGoodNegAdcHits.at(npad) = npad + 1;
 
       }
 
@@ -733,7 +733,7 @@ void THcShowerPlane::FillADC_DynamicPedestal()
 
 	fTotNumGoodAdcHits++;
 	fTotNumGoodPosAdcHits++;
-	fNumGoodPosAdcHits.at(npad)++;
+	fNumGoodPosAdcHits.at(npad) = npad + 1;
 
       }
     }