switched window.location.href