fix pagination previous page