fix order of directory/volume used in dir()