fixed "leaking" that occurred when the component that was extended was removed/detached