I think, a validation check is better for "pageSize"