fixed multibyte remaining_length field support