Finish the pagination