Fix check of dv