bug about cli.py