Fixed the profiler