auto revert buffer