tweak dir reference