hotfix for cli.py