fix pagination template

fix pull request #695