fix dtd loading