fixed issue with subdivide