fixed Profiler singleton behaviour
Merge branch 'profiler'