pushstate twice bug, ui fix