fix profiler call