enable profiler only in front