fix similar problem with term_char