Order Pagination and cleanup