Fixed bug in list-links, added normalize-links