fix the import data script and model