inserted undo/redo limit