remove abandonned Ref<T>