fix map page not load at refresh