pageSize is properly handled