Undo some changes