helper functions for bip32 derivations
fix redeem scripts
fix load_accounts