Patches to fix rebuilding page.