remove duplicated directory