fix the page sync