make sure the page is in order