check for import has to import only if matches aren't finished