Fixing exchanges in set_data.