fix link code