fix decimal & varint decode