Fix issue #7: no more duplicate ids
Fix opacity for sets