added hook to modify epub toc