fixed non-unique index creation.