fix WeakMap.prototype.clear