Fix pushstate based routing