fixes around saving page size