changed PROFILE_SCOPE to PROFILER_SCOPE