fix generate_epub method bug after unregister_item