fix unique index on tag attr