Link repair