Remove unused links