Fix - profiler was ending before output render