It looks like the EPUB file is just a direct select-all copy-paste of the PDF, in that it includes the chapter title and page number from the corner of each “page” in the content of the book, interrupting the actual text.
Could you rebuild that file? I’d be happy to provide more details, if you need.