replaced two variables for adjusting display. Regexs could not recognize target tokens if consecutive words followed