fix for getversion

i had pasted the wrong definition, sorry