fix CLI problem