diff --git a/OpenUtau.Core/Ustx/UProject.cs b/OpenUtau.Core/Ustx/UProject.cs index 8597b8e19..b1b62a212 100644 --- a/OpenUtau.Core/Ustx/UProject.cs +++ b/OpenUtau.Core/Ustx/UProject.cs @@ -97,7 +97,7 @@ public void MargeExpression(string oldAbbr, string newAbbr) { void ConvertNoteExp(UNote note, UTrack track) { if (note.phonemeExpressions.Any(e => e.abbr == oldAbbr)) { - note.phonemeExpressions.ForEach(oldExp => { + note.phonemeExpressions.Where(e => e.abbr == oldAbbr).ForEach(oldExp => { if (!note.phonemeExpressions.Any(newExp => newExp.abbr == newAbbr && newExp.index == oldExp.index)) { oldExp.abbr = newAbbr; if (track.TryGetExpDescriptor(this, newAbbr, out var descriptor)) {