Fix DI create new instance after it was removed