fixed correct pubKey