fixed goToUrl bug