fix a syntax error in process_with_transfer

a simple syntax error.