ensure links that exist are correct