add binding for revert buffer