fix bug of data len