repair link error