code format
add err process to set command