remove debug out from getversion
add more debug output