reverse src and dst to raw_input