Finish pagination