avoid duplicates during import

Signed-off-by: Gerald <gera2ld@163.com>