Revert the change in the order of events