Correction of pagination