fix data_transfer