improvements in the profiler