Fix a delete issue