Fixed profiler exception