more checks around CheckVersion