diff --git a/fillpdf.admin.inc b/fillpdf.admin.inc
index 27689d57c7d938378f87bf47728882b5d99768cc..c0378f4b4633a22a887f8a9129955ba8e188d0cb 100644
--- a/fillpdf.admin.inc
+++ b/fillpdf.admin.inc
@@ -286,7 +286,7 @@ function _fillpdf_save_upload($form_key, $fid = NULL) {
           'fid' => $file->fid,
           'title' => $file->filename,
           'url' => $file->uri,
-          'scheme' => fillpdf_default_scheme(),
+          'scheme' => fillpdf_template_scheme(),
         ))
         ->execute();
       $fid = $file->fid;