fixed base58_decode