fixed bug when running clean on a already clean directory