if flush true and data size is different before setted,it would be
crushed.so i stop use flush.
stop using flush somecase crush