fix reference to undefined variable DV