fixed set_as_unique