trimming tokenization