errors fixed for passphrase