changed dir struct