fixed paging
Merge pull request #3 from redolent/master

fixed paging