reformatting dir