fix bug on import duplicate