Fixed bug on encrypted message