fix pushstate firefox error