fixes pagination next link

Fixes #99