repaired error in profiler