Remove excess unused links