domComplexity: cleanup