dedupe: removed contact type and changed left to inner for contact