fixed tools.cli issue