fix bug location.pathname