encrypt fix