fix bug about missing command