make defaultPageSize configurable