format and fix bug
add -m