fixing CLI -v bug