small fix to varint