doc tokenize: fix the default of mode