revert cookie changes