tested Bug: replacing tf links in 2nd run