fix for creste dir error message