remove redundant dir