local changes for duplicate check

local changes for duplicate check