fixing pageSize, when first page is 0	

otherwise, MAX_PAGE_SIZE will be returned