preparation for pagination, fixed typo