iterate warning fix