clear substree