fixed saving import_result
added indexing