fix send size 256 bytes bug