fix last_import_id in flash message