fix error messages in Map, Set, and WeakMap