MaxCounters excess code removed