diff --git a/odd/configuration.xml b/odd/configuration.xml
index d684cf8d..8e27152b 100644
--- a/odd/configuration.xml
+++ b/odd/configuration.xml
@@ -16,4 +16,7 @@
false()
"11pt"
+
diff --git a/templates/basic/resources/odd/configuration.xml b/templates/basic/resources/odd/configuration.xml
index f291eaaf..63e6de84 100644
--- a/templates/basic/resources/odd/configuration.xml
+++ b/templates/basic/resources/odd/configuration.xml
@@ -23,4 +23,8 @@
+
+
diff --git a/transform/docx-tei.xql b/transform/docx-tei.xql
index 3d19e19c..4fa58e29 100644
--- a/transform/docx-tei.xql
+++ b/transform/docx-tei.xql
@@ -35,6 +35,10 @@ import module namespace css="http://www.tei-c.org/tei-simple/xquery/css";
import module namespace tei="http://existsolutions.com/xquery/functions/tei";
+import module namespace ext-docx="http://www.tei-c.org/tei-simple/xquery/functions/docx";
+
+import module namespace global="http://www.tei-c.org/tei-simple/config" at "../modules/config.xqm";
+
(: generated template function for element spec: r :)
declare %private function model:template-r6($config as map(*), $node as node()*, $params as map(*)) {
{$config?apply-children($config, $node, $params?content)}
@@ -79,7 +83,7 @@ declare function model:transform($options as map(*), $input as node()*) {
let $output := model:apply($config, $input)
return
- tei:finish($config, $output)
+ ext-docx:finish($config, $output)
)
};