dir struct change, deleted unused resources