Bug fix when open external links.