tweeks to support multidoc yaml