fixing profiler