fixes #16
paginate matches correctly