use window.location
bug