fix silly iterator from older hack in importer;sql query ex.