simplify method delete.