fix has next page false negative
dist