public key correction