rtree bug fixed