diff --git a/scipost_django/journals/templates/journals/create_proceedings_metadata_xml.html b/scipost_django/journals/templates/journals/create_proceedings_metadata_xml.html
index 784e969d2a88c9465e6afaff4521d4c0b82a6ea3..0a3214c2860eec46d359a0661e1ce5ecc954b758 100644
--- a/scipost_django/journals/templates/journals/create_proceedings_metadata_xml.html
+++ b/scipost_django/journals/templates/journals/create_proceedings_metadata_xml.html
@@ -56,7 +56,7 @@
         {% endif %}
 
         <input type="submit" class="btn btn-primary" value="Accept the metadata" />
-        <a href="{% url 'journals:manage_metadata' %}" class="ms-3 btn btn-link">Back to Admin</a>
+        <a href="{% url 'journals:manage_proceedings_metadata' %}" class="ms-3 btn btn-link">Back to Admin</a>
       </form>
 
       <hr class="divider" />
diff --git a/scipost_django/journals/templates/journals/generic_metadata_xml_deposit.html b/scipost_django/journals/templates/journals/generic_metadata_xml_deposit.html
index 6a06a9346ac14f87cce372b7a2bacf9ab0305901..8397be14afa675ec677f33be0507dca3d520a095 100644
--- a/scipost_django/journals/templates/journals/generic_metadata_xml_deposit.html
+++ b/scipost_django/journals/templates/journals/generic_metadata_xml_deposit.html
@@ -25,14 +25,10 @@
       {% endif %}
 
       <h3 class="my-1">Response headers:</h3>
-      <div>
-	<pre><code>{{ response_headers|linebreaks }}</code></pre>
-      </div>
+	    <pre><code>{{ response_headers|linebreaks }}</code></pre>
 
       <h3 class="mt-3">Response text:</h3>
-      <div class="border p-3 my-3">
-	{{ response_text|safe }}
-      </div>
+      <pre><code>{{ response_text|linebreaks }}</code></pre>
 
       <h3>Return to the <a href="{{ manage_metadata_url }}">management page</a></h3>
 
diff --git a/scipost_django/journals/views.py b/scipost_django/journals/views.py
index 58adda5bf41f4ad14c6fa2a8b4520d5a291f9c46..24d3910121bdc5d9721357739fe93b20decae746 100644
--- a/scipost_django/journals/views.py
+++ b/scipost_django/journals/views.py
@@ -1970,7 +1970,7 @@ def generic_metadata_xml_deposit(request, **kwargs):
     if isinstance(_object, PublicationUpdate):
         metadata_xml = _object.xml(doi_batch_id=doi_batch_id)
     elif isinstance(_object, Proceedings):
-        metadata_xml = _object.metadata_xml
+        metadata_xml = _object.metadata_xml.encode("utf-8")
     else:  # Report or Comment
         relation_to_published = (
             _object.relation_to_published