diff --git a/journals/views.py b/journals/views.py
index 083d6e3457174551c475ed5921c83c22cae1a273..8441a117c582e69fea6ece3ba67434bfe093b516 100644
--- a/journals/views.py
+++ b/journals/views.py
@@ -619,12 +619,12 @@ def create_metadata_xml(request, doi_label):
             if nr_funders > 1:
                 initial['metadata_xml'] += '</fr:assertion>\n'
         initial['metadata_xml'] += '</fr:program>\n'
-        initial['metadata_xml'] += (
-            '<ai:program name="AccessIndicators">\n'
-            '<ai:license_ref>' + publication.get_cc_license_URI() +
-            '</ai:license_ref>\n'
-            '</ai:program>\n'
-        )
+    initial['metadata_xml'] += (
+        '<ai:program name="AccessIndicators">\n'
+        '<ai:license_ref>' + publication.get_cc_license_URI() +
+        '</ai:license_ref>\n'
+        '</ai:program>\n'
+    )
     initial['metadata_xml'] += '</custom_metadata>\n'
     initial['metadata_xml'] += (
         '</crossmark>\n'