adjust page num