Why is name changing for a delete?