fixed creation of subfolders