add add_local_variable in fix_tree.c