[common] fixup new profiler code