Fixing the pagination path