fix CLI execution