fix dtd