adapt to new base58 api