use correct dir