fixes in DataExchange-example5.py