revert() and revert event.