fix CLI method bug