fixed race condition that caused dtdvalidate to sometimes fail