fix dirs.