removing a bug about plaintext