review code,fix bug cli