add total_page