Bug fixes (rewrite GDV_del)