Corrected repeating folders bug