revert session changes