fix print_summary