fix delete function