fix char n_gram size