working on undo action markup problem