Fix version checker.
Fix reported crash.