diff --git a/Theme/Api/render.tpl.php b/Theme/Api/render.tpl.php
index f412f08..2a35379 100755
--- a/Theme/Api/render.tpl.php
+++ b/Theme/Api/render.tpl.php
@@ -1,4 +1,16 @@
-getData('media');
$reader = IOFactory::createReaderforFile(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath());
diff --git a/Theme/Api/spreadsheetAsHtml.tpl.php b/Theme/Api/spreadsheetAsHtml.tpl.php
index 8911f11..dbb524f 100755
--- a/Theme/Api/spreadsheetAsHtml.tpl.php
+++ b/Theme/Api/spreadsheetAsHtml.tpl.php
@@ -1,12 +1,23 @@
-getData('media');
$reader = IOFactory::createReaderforFile(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath());
@@ -18,4 +29,4 @@ $writer->writeAllSheets();
$writer->save('php://output');
-echo '';
+echo '';
diff --git a/Theme/Api/wordAsHtml.tpl.php b/Theme/Api/wordAsHtml.tpl.php
index bef80cc..462f444 100755
--- a/Theme/Api/wordAsHtml.tpl.php
+++ b/Theme/Api/wordAsHtml.tpl.php
@@ -1,4 +1,16 @@
-