pushstate bugfix