Fixed a transfer packet size bug