repaired getVersion()