extracts to correct dir