v1.0.1 default encoding to one byte encoding
v1.0.1 correct cb_remove_ahead_offset