prepared some code for PerformanceLogger cleanup