profiler improvements