avoid location.search