Fix history pushState