add missing iter()

Fixes some compilation errors.