fix hashchange