minor fix for mkdir