fix log level error
update build script