Fixing getVersion invocation