Revert order of side effects