fixed the bug which will cause the performance counters don't work correctly if there are many same name processes are running