fix problems with non-defined encrypt params