fix paginate example, #28