add command compact
add command compact