Undo erroneous changes