small changes on pushstate