remove duplicate directory