fix setPageSettings