fixing public key