fixxed undefined decryption