add check_argument in fix_tree.c