removing bad in-page links from md