Some changes in delete