finish all non-terminal functions, except two with conflicts