fix many error for epub.