added debuging of EAD parsing error.