private key decode fix