fixing decryption