fix for mkdir