validate duplicate companies