change mkdir to mkdirs