correct using of iterator raw func in bit api