onRemove spec