fix generate epub problem.