Fixed private key creation.