modify the plaintext codec
fix the small cat problem