change return id when delete