cleaning up fixing the quadtree call