fix mc iterator