Fixed problem with folder creation