corrects links