removing unnecessary hrefs