Made the links work correctly