added text cleansing