change a delete

delete res
res =new raw () is easily exception