fix for DTD