changes cursor.has_next to cursor.alive