fixed -v bug thanks shardy_