bugfixes in multiset