fixed set creation bug