fix privateKey support. (privateKey read support)