removing redundant subdirectory