fixed to work with the new indexing check in the importer