Fix autolink, add try catch