fixed undoLetter