point root to null after clear