skip strings while creating the iterator