Undo uneeded changes