add debug while creating folders