fix print_tree() method