pageSize validation