minor bug with pushstate