simplifying a link