fix decryption