added validation for first dir/folder creation