cleanup quadratic dnd