Fixed folder creation bug