restore undo capability