Fix of mkdir in add