fixed folder creation issue