make sure the pages are added