remove cleanDir method