fix profiler