fixing encrypted data bag usage