fix CLI problem
fix minor error