fix a bug that mkdir fail