fixing issues with pages in previous commit