cleaned up the profiler