delete excess directory