fixing removing dirs