change pubkey representation