fixed bug setCiphertexts