fix data_length conversion byte length to bit one
fix bug