paginate issue solved