before change setDelta