diff --git a/hepcrawl/parsers/jats.py b/hepcrawl/parsers/jats.py
index 6a1aa524..e8a29c0d 100644
--- a/hepcrawl/parsers/jats.py
+++ b/hepcrawl/parsers/jats.py
@@ -20,8 +20,6 @@
from inspire_utils.date import PartialDate
from inspire_utils.helpers import maybe_int, remove_tags
-from lxml import etree # needed until a new release of parsel is made
-
from ..utils import get_first, get_node
@@ -459,7 +457,6 @@ def get_root_node(jats_record):
else:
root = jats_record
root.remove_namespaces()
- etree.cleanup_namespaces(root.root)
return root
diff --git a/tests/unit/test_edp.py b/tests/unit/test_edp.py
index 3ff75717..c3b78e47 100644
--- a/tests/unit/test_edp.py
+++ b/tests/unit/test_edp.py
@@ -587,7 +587,7 @@ def test_references(record_references_only):
'journal_title': u'J. Nucl. Radiochem. Sci.',
'journal_volume': u'10',
'number': u'5a',
- 'raw_reference': u'R.V. Krishnan, G. Panneerselvam, P. Manikandan M.P. Antony, K. Nagarajan, , 10.1, 19\u201326 (2009).',
+ 'raw_reference': u'R.V. Krishnan, G. Panneerselvam, P. Manikandan M.P. Antony, K. Nagarajan, , 10.1, 19\u201326 (2009).',
'year': u'2009'
}