fixes #2980 (undo placeholders mismatch)

fixes #2980