Fix some bug in modify and delete dv