text content cleanup