fix newdir