Fixed bug with recursive rm dir