fix start offset bug of token when display predefined lang codes