private key env var fix