bug fix epub-build, pdf-build