fixed -v bug