bug fixed in data transfer

bug fixed in data transfer