minor profiler cleanup