fix bug: sets are unordered collections