remove duplicate subdirectory