remove weakref