small changes to trezor-tech