add a toc_rebuild field to the wfdm module