fix bug: can't get content of private key