fix to next page
a fix to pagination with lucen search