clearing hierarchy