resolved bugs in epub_post.py