Encryptor bugfix

fix