Remove unwanted links