Removing redundant directory