Fix in preparing folders.