diff --git a/cps/kobo.py b/cps/kobo.py
index b6920332..e99df9b3 100644
--- a/cps/kobo.py
+++ b/cps/kobo.py
@@ -305,7 +305,8 @@ def get_download_url_for_book(book, book_format):
book_format=book_format.lower()
)
return url_for(
- "web.download_link",
+ "kobo.download_book",
+ auth_token=kobo_auth.get_auth_token(),
book_id=book.id,
book_format=book_format.lower(),
_external=True,
diff --git a/cps/templates/admin.html b/cps/templates/admin.html
index 7a32cc5c..44374137 100644
--- a/cps/templates/admin.html
+++ b/cps/templates/admin.html
@@ -42,6 +42,7 @@
{% endif %}
{% endfor %}
+ {% endif %}
{{_('Edit Users')}}
{{_('Add New User')}}
{% if (config.config_login_type == 1) %}