Fixed problem with Profiling.