fixed subdivide problem