undo fixes