fixes private key some more