fixed bug in launching external links