quick fix for reload page bug when hash