dir struct change