fix links in TOC and header