fixed an old id replacement bug
duplicates handling
dde search issues