fixed profiler on mac