fixed profiler.c