Fix pushstate