Correct invalid links