Fix of error 500

It was in DomDocument?