fix -v handling