Fix text extraction.