toc and anchor link fixes