repair link syntax