fix location.href