revert cursor