Fixed more things in Profiling.