for deduplicate, create target if not there