fix delete() crud action