Fix in message encryption structure