correction of text preprocessing