fixed circle memory leak