diff --git a/lib/components/agecounters.js b/lib/components/agecounters.js
index <HASH>..<HASH> 100644
--- a/lib/components/agecounters.js
+++ b/lib/components/agecounters.js
@@ -48,9 +48,11 @@ AgeCounters.prototype.bump = function(age) {
  * gauge when setting values.
  */
 AgeCounters.prototype.setGauge = function(gauge, morelabels) {
-    Object.keys(this.counters).forEach(function(age) {
+    var counters = this.counters;
+
+    Object.keys(counters).forEach(function(age) {
         var labels = Object.assign({age: age}, morelabels);
-        gauge.set(labels, this.counters[age]);
+        gauge.set(labels, counters[age]);
     });
 };
Bugfix for 'this' scoping in AgeCounters