fixed possible bug on UndoManager in MT environement.