change
add params curDir
format code