added removal "v" if version not present
fixed uninit var warnings when printing undef; that showed in perl versions 5.14<=