catching exception for malformed XML from BOLD
pep8