fixing duplicate entries in comps