simple fixes to be able to generate EPUB