fix chrome popstate on page load