support pagination, closes #22

fix

fix