Fix encrypted data