got rid of empty hrefs