prevent crash with walletpassphrase