Remove irrelevant links