Revert "Modify pagination"

This reverts commit d451940a921921a03c7ef8e41364d3bd479febe8.
Modify Pagination