clean up tree_fix