finished print_merged, cleanup