fix incorrect strings tokenization