fix up DO stuff