fix profiler support