Fixed --pagination issue.
merge