fix error in the decryption