fixes #2980
Merge pull request #2982 from digi604/fix-2980

fixes #2980 (undo placeholders mismatch)