missed if (root) for profiler prints