fix import of private key.