fixed not creating the folder correctly