removed unecessary undo manager.