fix dup delete