Added weakref list ELEMENT class for handle memory leak