fix on pushstate router method