fix public keys setup