Don't enable profiler if it should not be enabled