diff --git a/data/templates/default.crossref b/data/templates/default.crossref
index d828068..3f9b1dc 100644
--- a/data/templates/default.crossref
+++ b/data/templates/default.crossref
@@ -67,11 +67,11 @@ $endif$
$if(it.suffix)$
${it.suffix}
$endif$
-$if(it.orcid)$
- https://orcid.org/${it.orcid}
-$endif$
$if(it.afxml)$
$it.afxml$
+$endif$
+$if(it.orcid)$
+ https://orcid.org/${it.orcid}
$endif$
$endfor$