bug fix for mkdir.sh