Fix double opening of urls.