reset page number when change per_page