fixing the removeDir issue