fix bug for decrypto.