now fixing decryption