fix print_summaries