fix error#solve problem of delete