fixing get page size