undo line switch