Remove extra dirs.