Elaminated memory leaking involed while isolating.