pagination rectification