Adjust Paging Logic