debugging sweep cursor