tweak dir structure