removeDir is necessary after all