modify dir struct again