undo superfluous edits