docx title injection and removal of template sections