fix links for nodes added using top-down approach / floating nodes