decryption works properly