diff --git a/cps/templates/shelf.html b/cps/templates/shelf.html
index dab42d2f..32e3da4f 100644
--- a/cps/templates/shelf.html
+++ b/cps/templates/shelf.html
@@ -7,7 +7,6 @@
{% endif %}
{% if g.user.is_authenticated %}
{% if (g.user.role_edit_shelfs() and shelf.is_public ) or not shelf.is_public %}
-
{{ _('Delete this Shelf') }}
{{ _('Edit Shelf') }}
{% if entries.__len__() %}
diff --git a/cps/web.py b/cps/web.py
index 4baf82cb..10eb11f3 100644
--- a/cps/web.py
+++ b/cps/web.py
@@ -421,7 +421,7 @@ def render_books_list(data, sort, book_id, page):
elif data == "language":
return render_language_books(page, book_id, order)
elif data == "archived":
- return render_archived_books(page, book_id, order)
+ return render_archived_books(page, order)
elif data == "search":
term = (request.args.get('query') or '')
offset = int(int(config.config_books_per_page) * (page - 1))