save to correct dir