fix bug with autolink