move foldername out of mkdb