Are you perhaps OCRing a document that has already been OCRd? Getting a second text layer is not unusual if the document already has a text layer.
If you open an OCRd PDF in macOS Preview, do Edit > Select All, then Copy, then open a plain text document in TextEdit or other editor, then paste the contents of the clipboard, you’ll get the text layer. It will NOT be formatted and may be ugly.