cleaning extracted text