adding unique index for common names handling