fixed up some performance counters.