fixed folder creation errors