added possible mkdir fix