fixing cli -v bug