Fixed a capturing bug with autolink