Fix directories.