Undo unnecessary changes