add total page num for header