tweak for base dir