dedup the import method