fix varint encoding
1.0.1