fix to reinitialize perf counters