patterns public key fix