remove unused links