Prevent Profiler crash