I would move 2 lines above to after hTdextFlowTarget null checking