update warning message to use sectiondoc