new doc cleanup