switch src/dest to from/to